/** 
 * File-Name:StackInfo.java
 *
 * Created on 2011-4-7 上午10:11:28
 * 
 * @author: Neo (neolimeng@gmail.com)
 * Software Engineering Institute, Peking University, China
 * 
 * Copyright (c) 2009, Peking University
 * 
 *
 */
package com.debugassistant.entity;

import neoutil.CommonEntity;

/**
 * Description:Stack Information. e.g.
 * com.rportal.web.action.PaperAction.uploadPaperFile(PaperAction.java:91)
 * 
 * @author: Neo (neolimeng@gmail.com) Software Engineering Institute, Peking
 *          University, China
 * @version 1.0 2011-4-7 上午10:11:28
 */
public class StackInfo extends CommonEntity {
	private int position = -1;
	private APIInfo apiInfo;
	private String fileName;
	private int lineNum;

	private String estUuid;
	private String apiUuid;

	public StackInfo() {
		apiInfo = new APIInfo();
	}

	public String getMethodName() {
		return apiInfo.getMethodName();
	}

	public void setMethodName(String methodName) {
		apiInfo.setMethodName(methodName);
	}

	public String getClassName() {
		return apiInfo.getClassName();
	}

	public String getShortClassName() {
		return apiInfo.getShortClassName();
	}

	public int getPosition() {
		return position;
	}

	public void setPosition(int position) {
		this.position = position;
	}

	public APIInfo getApiInfo() {
		return apiInfo;
	}

	public void setApiInfo(APIInfo apiInfo) {
		this.apiInfo = apiInfo;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public int getLineNum() {
		return lineNum;
	}

	public void setLineNum(int lineNum) {
		this.lineNum = lineNum;
	}

	public String getEstUuid() {
		return estUuid;
	}

	public void setEstUuid(String estUuid) {
		this.estUuid = estUuid;
	}

	public String getApiUuid() {
		return apiUuid;
	}

	public void setApiUuid(String apiUuid) {
		this.apiUuid = apiUuid;
	}

}
